<template>
  <div class="btnparent">
    <div class="loginbtn" @click="regclick">{{ btntext }}</div>
  </div>
</template>
<script>
export default {
  props: ['btntext'],
  data: () => ({}),
  methods: {
    regclick () {
      this.$emit('regSubmit')
    }
  }
}
</script>
<style lang="scss" scoped>
.btnparent {
  padding: 15px 10px;
  .loginbtn {
    text-align: center;
    color: #fff;
    font-weight: bold;
    line-height: 12.5vw;
    height: 12.5vw;
    border-radius: 6.25vw;
    background-color: #fb7299;
    font-size: 4.444vw;
  }
}
</style>
